﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cesave.Domain.PermisosModule.Entities;
using Cesave.Domain.Core;
using System.Collections;

namespace Cesave.Domain.PermisosModule.Contracts.Modulos
{
	public interface IModuloRepository
		: IRepositoryEx<Modulo>
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="modulosByJuntaSpecification"></param>
		/// <returns></returns>
		IEnumerable<Modulo> FindModulosByJunta(ModulosByJuntaSpecification modulosByJuntaSpecification);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="modulosByJuntaSpecification"></param>
		/// <param name="modulosByStatusSpecification"></param>
		/// <returns></returns>
		IEnumerable<Modulo> FindModulosByJuntaAndStatus(ModulosByJuntaSpecification modulosByJuntaSpecification, ModulosByStatusSpecification modulosByStatusSpecification);
	}
}
